import QtQuick 2.15
import QtQuick.Controls 2.15

ApplicationWindow {
	height: 500
	visible: true
	width: 400
	
	Rectangle {
		id: rect1
		x: 12
		y: 12
		color: 'lightsteelblue'
		height: 96
		width: 76
		
	}
	Rectangle {
		id: rect2
		x: 12
		y: 122
		color: 'darkturquoise'
		height: 96
		width: 76
		border.color: Qt.lighter('darkturquoise', 0.6)
		border.width: 4
		radius: 8
		
	}
	Rectangle {
		id: rect3
		x: 12
		y: 222
		height: 96
		width: 76
		gradient: Gradient {
			GradientStop {
				position: 0.0 // 顶部
				color: 'lightsteelblue'
			}
			GradientStop {
				position: 1.0 // 底部
				color: 'slategray'
			}
		}
		border.color: "slategray"
	}
}